<div class=grid_18>
<div class=grid_10> 
    <div class=block-border> 
        <div class=block-header> 
            <h1>Enter Banks</h1><span></span> 
        </div> 

        <form id=validate-form class="block-content form" action="edit" method=post>
                      
            <div class=_50> 
                <p><label for=textarea>Bank Name</label> 
                    <input id="bankname" name="bankname" class="required" class="input-xlarge" type="text" value="<?php echo $record['Bank']['bankname'];?>"/>
                    <input type="hidden" id="bankname" name="bankname" value="<?php echo $record['Bank']['id'];?>"/> 
            </div>  
                
            <div class=_50> 
                <p><label for=textarea>Town</label>
                    <input id="town" name="town" class="required" type="text" value="<?php echo $record['Bank']['town'];?>"/></p> 
            </div> 

            <div class=_50> 
                <p><label for=textarea>Branch</label>
                    <input id="branch" name="branch" class="required" type="text" value="<?php echo $record['Bank']['branch'];?>"/></p> 
            </div>
            
            <div class=_50> 
                <p><label for=textarea>Account No</label>
                    <input id="accountno" name="accountno" class="required" type="int" value="<?php echo $record['Bank']['accountno'];?>"/></p> 
            </div>

            <div class=_50> 
                <p><label for=textarea>Account Name</label>
                    <input id="accountname" name="accountname" class="required" type="text" value="<?php echo $record['Bank']['accountname'];?>"/></p> 
            </div> 

            <div class=_50>
                  <p><label for=select>Account Type</label> 
                   <option value="<?php echo $record['Bank']['accounttype'];?>"></option>
                        <select name="accounttype" id="accounttype" class="required" type="text"> 
                        <option value="Select Account Type">Select Account Type</option>
                        <option value="Current">Current</option>
                        <option value="Savings">Savings In</option> 
                        <option value="Fixed Deposit">Fixed Deposit</option>
                    </select>
                </p>
            </div> 
            
            <div class=_50> 
                <p><label for=datepicker>Date Opened</label>
                    <input type=date id="dateopened" name="dateopened" class="required" value="<?php echo $record['Bank']['dateopened'];?>"/></p> 
            </div>             

            <div class=block-actions> 
                <ul class=actions-left> 
                    <li><a class="button red" id=reset-validate-form href="javascript:void(0);">Reset</a></li> 
                </ul> 
                <ul class=actions-right> 
                    <li><input type=submit id="Save-Incom " class="button" value="Save Record"></li> 
                </ul> 
            </div> 
        </form> 
    </div> 
</div> 